merge multimethod functable and metatable