Accessor for styles is now an attribute instead of a dict