Adding context mode to dex dir.