Upgrade to v0.5.1