Remove duration from serializer.