Added support for missing features

Also fixed how Table.query should work