Remove unneccessary `local_types`
C
Remove `gen_uid` from `context`
Prefer begin..end to brackets
Rename imports and improve importing and wrapping