Removed the hasPassword method.