Remove NoMonomorphismRestriction pragma