Fix insets

As some background, nulls are widely regarded to be a serious screwup in Java's design.

Optional is a workaround for this.  The programming language Kotlin (created by the guys that created IDEA) has a nice solution to this: http://kotlinlang.org/docs/reference/null-safety.html