Resolve modules by class properties