Remove self:: those functions are moved from class.