Module#constants should include constants defined in superclass; close #1126