Core: removed useless checks.