Changed lib from Private to Protected, so subclasses can inherit it