Created a setter to assign multiple attributes with a Hash