Minor improvements to ProfileMethod