Remove print function from policy object

It is not mandatory,  was not implemented and caused warnings.