Added reduceby() function
Added validation mixins to pie shapes