Do not get declaration if we need just base class.