Added JDK Deprecation rules and fixed a bug in overly broad constructor definitions.