Catch NPE in creation of a Duration.
Create getContextFrom and matchesContext in aH.