Add several functions from P8 to P16.
Will continue when I'm back from an appointment.