Avoid using commons-lang dependency