Fix createProperty bug in LazyProperty trait.