Core: Get rid of calls to mem_fn in thread instantiations

These are not necessary for the same behavior.