Updated calls to old names of properties and APIs. Build errors removed.