DRYing the code - needed packages
Added missing docs