Add initial implementation for a method injector

The method injector builds a new implementation from the actual selector implementation and that from the passed action block. This new implementation is then used istead of the original one.