adds find_by method to AbstractBlock, this commit is for backup and feature is not already ready for production.