Changed a few methods.

Small changes.