Added initHandler variable