Make sure we look up types for interfaces too when looking up encoder/decoders. Issue #164