Added comments to describe using encoders