Made changes to syntax to reflect beta3 changes