Improve SSM configuration to support SSM annotations