Add strict equalities in src/core/* (part 2)