Use standard functions instead of implementing them.