Implicit type declaration in generic construction for backward compatibility with Javac6