Support for bulk attr and style assignment

Fix for #14