Fix Lagarto error
Fix problem with subclasses using pointers
Not working as expected, should be fixed