Schema_check.

Added schema_check to analyser and tested all, after merging works.