Leveldown compatibility

See #2 for more details