Rename specs to funcspecs for clarity

There's also typespec and the name specs was a bit confusing.