feat(autoload): add trait detection (refs #4605)
Merge pull request #1115 from Eric-Brison/3.2-A4605

feat(autoload): add trait detection (closes #4605)