Adding support to mime type custom handlers