Fix ugly hack (constructor.name = 'SharkTree') to working ugly hack