Better way of identifying the current method