Fix errors in implemented interfaces
Change work with image's attaching