`complement_flag` keyword replaced with `complement` for consistency