Add feature type to warning message.