Move from hash rocket to short syntax when declaring spec type