make _getObject() available to all components

I've been copying this method to a few of my own components, I think it should be available to all components by default.