Added all functions to header.