Change names of parse() methods to be more descriptive. Add javadoc.