Added programmatic access to version