add wrapper for class target