Move docs onto macro