a little cleanup of the ElggData class