#634 added missing kindof require