Adding namespace references accordingly to IN. Checking if 'new' and 'delete' have arguments