Doc updates, minor magic number removal