Apps and library fixes.