Tidied up BlendMode.java