Adds optimist as dependancy.