Preparations for batch edit