Tweaked RestFullYii to do our bidding.