Added head and tail methods
Added missing docblocks