Minor changes on attachment api view.