Moved gaps to their own block, added docs for them, fixes #219