Add set method.