Make sure user ID is null if undefined.
Fixed spacing in docblocks. Had forgot about tags, included them. Add toArray function.