Remove dict() from spec annotation as it is causing travis errors