Added parse function.