Changed an error message.
Changed a reference to a pointer.