This will now modify the given encoders. Docstring is also missing documentation on encoders parameter.