Add support for native objects