update ModuleTemplate.all to better handle the options arg