Made attr and prop global