Adjusted attribute to hash instead of array, to match docs.