final alaysys code and doc stubs