Add support for multiple dispatch