Removing superfluous typenames