Added configurable warning message.