Implemented parse-deftype similar to parse-defmacro.