Added level argument.
Added static and dynamic options.