Set minimum requirement to 2.1 and use @param instead of type hinting for optimization.