Restraints can be used for all of the following purposes except to: