Updated version to 2.2. Closes #395.