Check for errors module is separated out for individual checking of type and var sections