Converting these functions to static.