Made JS API names include method