Added updated stubs and documentation.