Fixed options not being passed to Generator when source code is provided.