Uses var args for extend and includes

This removes the need for reverse and each calls.