Some checks made in parsing