TODO: describe inlining implementation that was created by Jonas Schlitzer as part of his BSc thesis.