Changed wrong min attribute in JOut, and added final to unit attribute.