Added missing stack dependency for tf.