Add util functions.
Add simple function support.