Added convenience method for adding target, action, and related object.