Breaking docs module while refactoring and making it more flexible.