Remove unneccessary inputs from pyafm.afm.