Upgrade requirements to latest versions. Closes #262.