Moved option getter functions to utils