add getters and setters for primitive lists. fixes #6