Exposed getKey to protected.