Added support for defining prototypes for dictionary processes.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>