Made Content-Types configureable.