Change option specification from dict to tuple for better performance and immutability and better type checking.