Added private library functions.