Replace assertion chains with static calls
Merge pull request #70 from codeliner/improve-assertions

Replace assertion chains with static calls