We need to override #[] method for direct attribute accessing when resolving polymorphic associations