Fixed a bug and made dependency versions explicit.