WHISTLE-1510: update specs to stop using '/arity :: ', update specs/types for dialyzer