Closes #6. Added a check to see if every class has a definition.