Added support for hprof