Adding a Set method.