Updated for v0.5.1