Cleaned up Aithon library function names and code.