reset opcode, small cleanup
added stubs for metadata report callbacks