Remove duplicated abstract format factory implementation