Add class of targets and several methods to work with targets