Move some cloudproc templated implementations to the header file