Inherit from BasicObject instead Object