Updated for v1.7 beta