Started to use shorter functions of the Errors class