Removes nesting