ALlow functions to be used to generate response and request prefixes.

Fixes #7