Implemented policies correctly.
Fixed client side bug.