Add fn + xs functions.