Set response types correctly