Wrappers for chrome extension API methods