Updated/added JavaDoc to all methods.