Source: https://m-sp.org/downloads/masters_thesis_nested_class_modularity.pdf