Don't encode read-only properties when they don't have an ivar