Add factorial.