Remove "/index" from directory imports.