Improve /pac to generate the mehod name as well