added API doc generation and fixes to aliases