add. query method decorator to blocks method.  Modified attribute that resolves to key of query hash since __name__ is overwritten by wrapper method.
mod. add decorator to edit count query method