BUG: Fixed issue setting the API Version.

Signed-off-by: Tom Green <kingofcuddles@gmail.com>