Add getVersion method