Fixes #2 by adding a custom attribute for validating Locality on both the server and client.