feat(autoload): add trait detection (refs #4641)
Merge pull request #1114 from Eric-Brison/3.3-A4641

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