Metatable cleanup.