Search extended modules for attached DSL macros

Fixes #553