Population now error-free.

Have yet to test anything more substancial than the constructors. Was
forced to include a template object, because it seems that generics
can't be (easily) instantiated