Pull out encoder/encoder binding to separate class.