Filling in class templates