Sets default values to options, some code clean up.

Removes deprecated comments, rewrites pl_generator description to reflect
actual implementation.