Updated apiVersion to work with the current API.