Making COinS generic