Performance tweaks.

Small tweaks for methods that are called often during application boot. For default Laravel application with 100 routes these tweaks eliminates hundreds of unnecessary calls. As a result execution time reduces significantly.

I got more than 15% boost however it is difficult to have repeatable numbers so independent measurement would be highly appreciated.
Please leave that new line in.