remove unused metamethods