Took care of deprecation warning by bison