Fixed error tolerance and changed API of getWarnings().