Fixes #33 Allow using java.util.ArrayList