Move the function to src.