Updated examples and main files.