Issue #40 : add support for Miscellaneous Functions.

Refactor the code and implement this feature.