Support modules as options with deprecation message.