Revert "UserFunctions class"

This reverts commit f6816c0740b666bd4ca6d7926d0b95df6e96a018.