Refactored for using the most recent version of coccyx 0.5.0.