Implemented parameter scope handling.