Removes class typeliteral dependencies