More parameters checing (#ifndef NDEBUG).
