add Comment type
fix autogen methods
update refs/heads methods