Moved the custom stuff into leolib.leo