Added 'center()' method.