Better printing of method names