Add support for deprecated :category option.