Javadoced the engine