Defined the operations.