Added missing "$bundle" parameter to version class constructor, closes #990.