Injectors having valves