Checking for doc macro