Finalized Gerper class implementation.