Remove redundant macros from variadic templates emulation.
Fix errors in definition of nested class work.
Add chain() function.