Protection against holes in optional parameters