Determining caller of method