Custom class support for inbound