Added includes method.
Added fetch method.
Added missing tests for flatten method.
.