Fixes some broken specs.