Is it possible to extend external library in a way as follows, so that it can be publiszhed as a new packebage with other inside.