Added missing class template prototype.

Fixes on compile error with newer versions of gcc.
Merge pull request #497 from backburn/master

Added missing class template prototype.