Made logic of projections more explicit.