Rewritten parts of structureAPI