QA-5805: Fixed incorrect lazy instantiation of static fields.