Added deep search, can now find classes which are inherited.