Pass relevant parameters along to checkCapabilities().

- Also removed unnecessary compact() calls.