add support for block attributes for library items