Some very badly thought out SWIGging