Remove some compats and added some native bindings.