Compensations refactor

Test with: https://github.com/jbosstm/jboss-as/pull/33