Removed redundant forward declaration of slot class when
compiling with variadic templates.