Mod: Refactored for cleaner reflection.