Added getCapabilities() and improved getPosition().