Copied winston access from core.