Fix property generation.