TODO: Move libdockapp to bottom of stack.