This function can be removed as well.