Added parse method.