Added two syntax checks.