Missing APP_NAME constant removed for now.