Enforce structured programming in a few functions