Bugfix for register stack
Added missing registrations with garbage collector