Fixing a strict error and documentation