maybe `$module` should be `$bundle` ?