Removing unnecssary nesting in import statement