Simplified getting online content, removed unused declarations.