API restruct.