Fix getOverloads documentation

Previously it said it only worked on classes. It actually works on structs and modules too.