Added content type to constructor.