add syntax candy to Object::define