Adding type mappings for mongoose