Add version parameter and default to latest version