Sometimes `$relatedObjectClassName` is something like "EssayRelatedByFirstAuthor" while `$className` is the real class name ("Essay").