Remove many rarely used php function, because large php file vary slow