Add REQUIRE_CAPABILITY parameter. Update dependencies.