Correctly read attributes directly on members (properties), not the declaring class.