Separate module for types