Added support for Private Apps.