Adding AMError.h as a public header and minor doc update