Another nice little change courtesy of jeaye@freenode; use std::forwared in
dispatch_function