Added static to function.