Hopefully this makes it compat for java 1.6 :L