Removing reference to removed typedef