Fix some functions name, add AS binding.