#75 locator aware by

Fix #75. The ByLegacy can't be used StringLocatorAwareBy because it need more than one By, so it doesn't match the constructor.
Signed-off-by: niels <opensource21@gmail.com>