Moved the perform procedure to the Operation class, as a method.