Add support for non-Object prototype objects