Added some minor functions and documentation support