Updated to work with the processing lib's refactoring