Implement method delete() for device provider
Fix typo in javadoc