Support context and method name in Backpack.attach