Fixed a problem with constructing types from identifiers.