Define and register badpenny tasks