Remove unneeded use of as