Corrected comment.
Use method to get URL path instead of class attribute.
Added example for parameters handling.