Fix several objc property related bugs.