Updated function calls to v2.