Removed deprecated from javadoc.