No problem, just use PIKEFUN outside of a class definition and you end up with an new function in your module.
A good example of how this is done, can be found in src/post_modules/Nettle/nettle.cmod. The function crypt_md5() is defined just that way... ;)