added support for custom scene objects