Fix bug in writing to shadow state properties. Renamed extension methods to match annotation name.