Small improvement: use stdlib.