fix getter added at end of file when registering a new instance
fix getter added at end of file when registering a new instance

Signed-off-by: Dorian Savina <bd5c0b7f4a8c268c96004cf181d05ba6589b110f@thecodingmachine.com>

thecodingmachine/mouf,thecodingmachine/mouf,thecodingmachine/mouf,thecodingmachine/mouf