[Core] Added anti-op checks.
[Git] Fixed .gitignore.