Set method.