Removed unused param reg/unreg functions in demo

Andrea Zoppi