Add onParse() callback method