Added ability to enumerate declared classes.