Refactored locating of behaviors