Also got to bind function references if they aren't static functions.