Add snippet for dynamically figuring out which class definition to write
based on the current file and its location