Make content-type argument optional