Remove an error check that is not needed with the new library