Fixed he finding of classes to only return complete declarations