Removed boost::bind and boost::function usage in runtime.cc.