Added op.checkOpData and validate hooks