Resolve modules from the values of class attributes