Perform a quick lint before accepting a spec.
Refactor and add some more error messages.
Do not accept duplicate entries.
Verify that a version higher than 0 is specified.