Support multiple versions

Fix #181