Fixed multiple "@spec arity does not match"