Add code insertion scope to limit to API explorer & add Clear option