Remove custom reduce function.