Add custom type to modules
Do not show module tab if only one module is in map