Added the gates and pin configurations.