loading a precompiled custom function now works (for CustomFunction only) but is still a bit clumsy (#22)
cosmetics
added implementations for the other custom function types (#22)