Fixed qualified types and spaces.

There was an issue array/non-array qualified types
inside the scope of parameters. Also fixed the spaces
in the access regexs.