Assorted helper methods for making life with WordPress attachments easier.