SERVER-11143 Add constraints to option registration interface