Implemented some stuff for testing purposes.