The Java-Learning Object Ontology (JLOO) has, as a domain, the basic concepts of Java® language. In this paper, we extend JLOO to other libraries and classes. In order to explain the procedure, we use the Math class (belonging to the java.lang library) as a case study. As a result, we enhance the JLOO functionality with libraries and classes for teaching purposes.