Automatically reads @imports (needs improvement)