Implement temporary version checking

Looks like `req` is unused variable.