Splits _process() method to reduce complexity
Moves _getTypeItem() to base class
Splits methods to reduce complexity
Merge pull request #786 from nsendetzky/master

Splits methods to reduce complexity