I think you missed the readonly parameter for the annotation here.