A new refactor, in order to achieve inherithance without losing Geany's tag detection.