Added the remaining method necessary for reflection.