Changed ContentParser to a mere function