Fixes an initialization issue with specs