Remove type assertion