Clean endpoint constructor

The dependent service was already passed as an argument, to make
the contract clear it's now the receiver.