Added support for supportsMethod() when checking capabilities.