First pass at adding internal rep functionality. W. Carole testing.