Add createdAt field