Fix #16
Unfortunately this doesn't support older versions and I think there's no workaround besides branching/forking.
It is ~90% done but there still issues.