Add positions as functions.