Add method and interface in effects