add compatibility with psr-0