Updated for Propeller SDK v2.0.