Move the capabilities detection into a runtime method