Updated structure for docs and resolved warnings.