Equities wrapped up May with modest gains.