Add version (fixes #328)