added option to add model method doc