Generate toString for mehtod classes.
Javadoc for Long-poll timeout corrected.