Separated types into modules