Use target api properly to notify lint