Registry a loader for doctrine annotations.