Remove useless method in Structure.
Fix unittests in modifier.