Methods need to be handled a special way when used as keys