Remove version() function.

This function is pretty dodgy and likely unused.