Remove an old checks for empty advices
Split a method to reduce the complexity
Change the structure of list of raw advices to remove an extra checks and to remove explode/join expressions
Small improvement: use constant instead of magic 'func' string