Add PHPStorm support and improve code hinting