Implement more attachment API methods