Move function around in docs