I decided to try and match the style of the existing library. If we ever want to get this merged back upstream we shouldn't change the style of the code to much IMO.