Remove single level nesting