Adds forgotten getBounds method