Refactor validate methods of `Reference`. Some ideas: * just have one `Validate` method that validates the whole thing * consider not using regex as regex is slow