Set minimum requirement to 2.1 and use PHPDoc instead of type hinting.