Does using java.lang.Boolean not work here? Can you add a comment as to why not?