Added a put method.