Move func integration into contrib.