How to configure historical VaR calculation function in OG?

Any one can help me to configure historical VaR calculation function in OG?
I have read the OG document, I found Function Configuration Definition can be configure to add this functions, but what functionalities I can refer to configure it?