Refactoring AgnGeneLocus class