St Johnstone defenders Steven Anderson and Gary Miller, along with goalkeeper Stevie Banks, have signed new contracts.