Add set method to container