BytecodeCompleter: yak shaving - follow principles of design by contract