Remove special handling of class, reference and array types.