Fixes a bug with @property and custom named locals