Continued experiments with typescript.