Add methods to get the expanded path for action