More gateway documentation

This patch lets us into a bit more regarding how to implement a proper gateway subclass.