Written javadocs for new interface.