add more concise static init function, fix enabled_capabilities