Remove serialize hooks that are not needed anymore