Removed helper function.