Implement `getObject` for component