Added check for bounds.
More methods for params.