@KlemenKosir please don't do it yet. There is me and many others taking care of the memory functions already. @watk is ready to merge #632, for example. Style changes have lower priority.