Added initial syntax checker method.