Refactored UnaryOperations. Extracted priority