Updated attachment handling and added more bridge helpers

Signed-off-by: Tom Wright <tom@inflatablecookie.com>