added the $ignoreClassName property and modified the getDoc to use it