Adding documentation for core/common functions.