Add show and hide methods to the API