Fixed some warnings which occur during javadoc generation