Fixing compile warnings from not specifying atomicity on property