A replacement for the STL's stack because I don't like the behavior of
pop in std:stack
Search for a method from a class until the root (Object)
Now the generator looks better. At least the code is a bit better and
everything is more clear