added self to javadocs