Temporarily revert this patch to unbreak the bots/builds until we can understand what was intended; is_pad() call isn't defined. This reverts commit 2b89f40a.