Add inject method