Extending from Object

You should be able to just use NewObject or NewNamedObject to achieve the same effect.