Clean up namespace for hrf.py