Add getName method