Cleaning + adding implicits

I cleaned a little the HierarchySpec and added implicit function to make it less verbose. Need your opinion