some stubs in capability.rs