Removing overloading of methods, late static bindings should be used instead.
Determining the directory using late static bindings.