The method newInstanceForName was fixed; added missing javadocs