Move processing out of the callback.
Remove superfluous get_param().