Add private method instead of an exteran dependence