Create callbacks to object methods using weak references