Fixed depreication warnings. Note to self: deprication warnings are essentially errors on the autograde server.