Fix a few readonly-property bugs that I introduced.

Thanks @shawnthroop!