Fix type in spec