Reduce warnings by making shadow classes dynamic rather than open.