Finished off generation and binding stuff.