Problem: new class source does library include too late

Solution: this must be done before class structure definition.