New methods

Hi, I propose you 2 methods for lazy developer. This is interesting and could have code line shorter for ease respect PSR-0. Best regards.