Adds nil checks to content type api methods