This function isn't used by anything. Remove?