Improved Javadocs for declareMethod methods.