removed unnecessary Config dependency for non-basecy for models