Fixes #165. Do not change the handler for a primitive when changing the
handler for a wrapper.