DRY up ModuleExtensions#extended