Reduce function calls to pawns