Fix specs for dialyzer.