Remove global from __construct(). #857