Feature/prune category

Bug fix: [yes]
Feature addition: [yes]
Backwards compatibility break: [yes]
Unit test passes: [yes]
Phpspec specification passes: [yes]
Checkstyle issues: [no]
ChangeLog updated: [yes]
Fixes the following issue: #28