Revert https://github.com/rtomayko/replicate/pull/20