Overriding some methods.