added ServerSide collections to accept a callback instead of just returing the value