Support deprecation information from constants
Land #3293, module deprecation constants