Removed unused "helperfunctions".