Implement NULL gate. Closes #38.