Finished implementation of default type pool without yet considering annotations.