JavaDoc added.