Upgrade to ghost 0.5.1