Removed useless template declarations.