allow use of `select` inside defining module