Getter method was causing compilation issue with IE8