Make our pseudo attachment an object

So Bugzilla won't complain that the code was called outside Object
class.