disable unused functions

full code base can’t fit on amp 2.5, selectively disable features unused