Bumping version to 0.5.1 and publishing to NPM.