Removed erroneous arguments in the engine method, moved the engine creation to a method which is applied to an attribute.
Added the set_password method for setting the password with a hash.