Revert "Move functions into reference manual", seems to have broken
the toolchain somehow. Let's try again...

This reverts commit b104f13dd3c8957ccd57ff53ea7c3e38a2941b31.