Fix: add forgotten attributes initializations and use 'null' instead of
'Void' in some conditionals