Adding support for .res files.