added support for specifying decoder class, bin type and hash values