Return func in (un)register functions, v0.1.4.