Fixed error with write to :price attribute.