more path releated things and protected methods.