Adding download and delete methods to plugin