Fixed arguments and type error.