Added encoders and encoder ports.