Added apply operation.