Add resource parser factory